<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<h2>IP-DESK 인덱스 바디 페이지</h2>
<a href="/index/userLogout.desk">로그아웃</a>
<p/><p/>
<s:set name="authCode" value="#session.authCode"/>
<s:if test="%{#authCode == 'ADMIN'}">
<h3><a href="/user/regForm.desk">사용자 등록</a></h3>
</s:if>

<s:url id="bizListURL" value="/biz/bizListForUser.desk">
	<s:param name="userSeq">
		<s:property value="#session.userSeq"/>
	</s:param>
</s:url>
<h3><s:a href="%{bizListURL}">기업정보 목록</s:a></h3>
<h3><a href="/consult/consultForm.desk" id="cousult_reg_popup">지재권 상담일지 등록</a></h3>
<h3><a href="/brand/brandForm.desk" id="brand_reg_popup">상표출원 상담일지 등록</a></h3>
<h3><a href="/invade/invadeForm.desk" id="invade_reg_popup">침해조사 일지 등록</a></h3>
<h3><a href="/seminar/seminarForm.desk" id="seminar_reg_popup">설명회/세미나 실적 등록</a></h3>
<h3><a href="/channel/channelForm.desk" id="promote_reg_popup">협력채널구축 실적 등록</a></h3>
<h3><a href="/promote/promoteForm.desk" id="promote_reg_popup">홍보 실적 등록</a></h3>

세션: <s:property value="#session.userEmail"/>